package com.yike.user.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.yike.common.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import com.yike.common.api.Update;

/**
 * 店铺绑定申请表
 *
 * @author Sakura
 * @since 2024-09-03
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName("qy_shop_binding_apply")
@ApiModel(value = "ShopBindingApply对象")
public class ShopBindingApply extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @NotBlank(message = "店铺Id不能为空")
    @ApiModelProperty("店铺Id")
    private Long shopId;

    @NotBlank(message = "代理商Id不能为空")
    @ApiModelProperty("代理商Id")
    private Long agentId;

    @ApiModelProperty("商户Id")
    private Long merchantId;

    @ApiModelProperty("类型：1商家申请 2代理商申请")
    private Integer type;

    @ApiModelProperty("状态：0待通过 1通过 2拒绝")
    private Integer status;

    @ApiModelProperty("备注")
    private String remark;

}
